﻿@{
    ViewBag.Title = "Index";
}
<h2>
    Index ExamResult</h2>
<h2>
    Upload</h2>
@{
    if (ViewBag.Status != null)
    {
    <div class="success">
        @ViewBag.Status
    </div>
    <br />         
    }
}
@using (Html.BeginForm("Index", "ExamResult", FormMethod.Post,
        new { @encType = "multipart/form-data" }))
{  
    
    <label for="file" style="float: left;">
        Filename:</label>
    <input type="file" name="file" id="file" />

    <input type="submit" class="button-green-medium" value="Import CSV" />
}
<div>
    @Html.ActionLink("Back to List", "Index")
</div>
